package com.frxuexi.lib_http

import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit

abstract class BaseRetrofitImpl:HttpRetrofit {

    fun createOkhttpBuild():OkHttpClient.Builder{
        return OkHttpClient.Builder()
            .connectTimeout(5,TimeUnit.MINUTES)
            .readTimeout(5,TimeUnit.MINUTES)
            .writeTimeout(5,TimeUnit.MINUTES)
    }
}